package com.rt.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rt.common.annotation.Excel;
import com.rt.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 报名管理对象 t_apply_info
 *
 * @author Yg
 * @date 2024-08-14
 */
public class ApplyInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 考试类型id */
    private Long examTypeId;

    /** 考试计划id */
    @Excel(name = "考试计划id")
    private Long examPlanId;

    /** 考场id */
    @Excel(name = "考场id")
    private Long departmentId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 性别 0:男 1:女 默认男 */
    @Excel(name = "性别 0:男 1:女 默认男")
    private Long gender;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 学校名称 */
    private String schoolName;

    /** 学校专业 */
    private String schoolProfession;

    /** 毕业时间 */
    private Date graduateTime;

    /** 状态 0:正常 1:冻结 */
    private Long status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setExamTypeId(Long examTypeId)
    {
        this.examTypeId = examTypeId;
    }

    public Long getExamTypeId()
    {
        return examTypeId;
    }
    public void setExamPlanId(Long examPlanId)
    {
        this.examPlanId = examPlanId;
    }

    public Long getExamPlanId()
    {
        return examPlanId;
    }
    public void setDepartmentId(Long departmentId)
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId()
    {
        return departmentId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setIdCard(String idCard)
    {
        this.idCard = idCard;
    }

    public String getIdCard()
    {
        return idCard;
    }
    public void setGender(Long gender)
    {
        this.gender = gender;
    }

    public Long getGender()
    {
        return gender;
    }
    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }

    public String getMobile()
    {
        return mobile;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setSchoolName(String schoolName)
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName()
    {
        return schoolName;
    }
    public void setSchoolProfession(String schoolProfession)
    {
        this.schoolProfession = schoolProfession;
    }

    public String getSchoolProfession()
    {
        return schoolProfession;
    }
    public void setGraduateTime(Date graduateTime)
    {
        this.graduateTime = graduateTime;
    }

    public Date getGraduateTime()
    {
        return graduateTime;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("examTypeId", getExamTypeId())
            .append("examPlanId", getExamPlanId())
            .append("departmentId", getDepartmentId())
            .append("name", getName())
            .append("idCard", getIdCard())
            .append("gender", getGender())
            .append("mobile", getMobile())
            .append("email", getEmail())
            .append("schoolName", getSchoolName())
            .append("schoolProfession", getSchoolProfession())
            .append("graduateTime", getGraduateTime())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
